package game.ouroboros.enemy;

import game.ouroboros.enemy.Enemy;

public abstract class Boss extends Enemy {
protected int regen = 50;
	
	public Boss(float x, float y, float width, float height){
        super(x, y, width, height);
    }
	
	public void receiveDamage(int valor){
		this.life -= valor;
		this.life += regen;
		if(this.life<=0) this.die();
	}
}
